﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConditionalPlaceHolderTests.aspx.cs" Inherits="OpenWaves.Web.Tests.ConditionalPlaceHolderTests" MasterPageFile="TestCase.master"%>
<asp:Content runat="server" ID="TestCase" ContentPlaceHolderID="TestCasePlaceHolder">
    <div>
        <ow:ConditionalPlaceHolder runat="server" Condition="<%#true%>">
            <ThenContent>
                This should be rendered
            </ThenContent>
            <ElseContent>
                This should NOT be rendered
            </ElseContent>
        </ow:ConditionalPlaceHolder>
    </div>

    <div>
        <ow:ConditionalPlaceHolder runat="server" Condition="<%#false%>">
            <ThenContent>
                This should NOT be rendered
            </ThenContent>
            <ElseContent>
                This should be rendered
            </ElseContent>
        </ow:ConditionalPlaceHolder>
    </div>
</asp:Content>